<?php
class MaintenanceRenderer extends Renderer
{
	function renderContent()
	{
		global $content;
		
		$content = "<p>&nbsp;</p><p>&nbsp;</p><h2>Site is currently under maintenance! please visit us again soon.</h2><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p>";
	}
		
	function renderBreadcrumbs()
	{
		parent::renderBreadcrumbs();
		
		global $breadcrumbs;
		
		$breadcrumbs .= "&nbsp;&#187;&nbsp;Maintenance";
	}
	
	function renderMainNavigation()
	{
		global $mainNav;
		
		$mainNav = "";
	}
	
	function renderLoginBox()
	{
		global $loginBox;
		$loginBox = "";
	}
	
		/*overridable by page implementation*/
	function renderSearch()
	{
		global $G_SEARCH;
		$G_SEARCH = "";
	}
}

$renderer = new MaintenanceRenderer();
?>